Defining An Lstm Neural Network For Time Series Forecasting In Pytorch